package com.eati.cm.serv_impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.eati.cm.model.ThirdPartyAccount;
import com.eati.cm.model.readonly.useless_for_fe.LoginPlatform;
import com.eati.cm.repo.ThirdPartyAccountRepo;
import com.eati.cm.serv.IThirdPartyAccountServ;

@Service
public class ThirdPartyAccountServ implements IThirdPartyAccountServ{

	@Autowired
	ThirdPartyAccountRepo thirdpartyAuthInfoRepo;
	
	@Override
	public ThirdPartyAccount findByLoginPlatformAndThirdUsrId(LoginPlatform lp, String tuid) {
		return thirdpartyAuthInfoRepo.findByLoginPlatformAndThirdUsrId(lp, tuid);
	}

}
